package com.zxx.otherchaos;

import android.app.Application;
import android.content.Context;

import com.zxx.otherchaos.utils.toast.ToastUtils;

/**
 * @author zxx on 2020/12/29
 */
public class MyApplication extends Application {

    private static MyApplication context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = this;

        ToastUtils.init(this);
    }

    public static Context getContext() {
        return context;
    }
}
